﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 报修申请
    /// </summary>
    [Table("T_RepairApplication")]
    public class RepairApplication : BaseEntity
    {

        /// <summary>
        /// 维修装备名称
        /// </summary>
        [MaxLength(50)]
        public string Name { get; set; }

        /// <summary>
        /// 维修内容
        /// </summary>
        [MaxLength(50)]
        public string RepairContent { get; set; }
        /// <summary>
        /// 报修时间
        /// </summary>
        public DateTime? RepairTime { get; set; }

        /// <summary>
        /// 维修人
        /// </summary>
        [MaxLength(50)]
        public string RepairUser { get; set; }

        /// <summary>
        /// 审批顺序
        /// </summary>
        public int ApprovalSequence { get; set; }

        /// <summary>
        /// 审批流程图
        /// </summary>
        public string ApprovalProcess { get; set; }

        /// <summary>
        /// 审批流程说明
        /// </summary>
        public string ApprovalProcessRemark { get; set; }

        /// <summary>
        /// 审批节点
        /// </summary>
        public string ApprovalNode { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int ApprovalStatus { get; set; }
     
    }
}
